package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Test {
    //int xxx;

    public void modify(int i){
        i+=15;
        int j=39;
        System.out.println("i="+i);
    }
    //改变年龄
    public void  inc(Student stu){
        stu.age++;
    }
    public void  inc2(Student stu){
        stu=new Student();
        stu.age=58;
    }
}
